how to calculate quantity for foundation in center line method